package com.cz.video.website.service;

import com.cz.video.common.core.domain.PageQuery;
import com.cz.video.common.core.page.TableDataInfo;
import com.cz.video.website.domain.bo.WebsiteMovieBo;
import com.cz.video.website.domain.vo.WebsiteMovieVo;

/**
 * <p>
 * 电影表 服务类
 * </p>
 *
 * @author 洪圆胜
 * @since 2023-10-15
 */
public interface IWebsiteMovieService  {


    int addMovie(WebsiteMovieBo websiteMovie);


    /**
     * 查询电影
     * @param id
     * @return
     */
    WebsiteMovieVo get(Long id);

    /**
     * 删除对应的视频
     * @param id
     * @return
     */
    int deleteById(Long id);

    /**
     * 分页查询对应的视频
     * @param websiteMovie
     * @param pageQuery
     * @return
     */
    TableDataInfo<WebsiteMovieVo> page(WebsiteMovieBo websiteMovie, PageQuery pageQuery);

    /**
     * 更新视频信息
     * @param websiteMovie
     * @return
     */
    int update(WebsiteMovieBo websiteMovie);
}
